<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>用户管理</title>
		</th:block>
	</head>
	<body class="main-content">
		<div class="main-toolbar"></div>
		<div id="query-params" class="main-develop-query">
		    <table>
		        <tr>
		            <td>
		            	<label>关键字：</label>
		            </td>
		            <td>
		                <div id="keyword" class="search-textbox" width="200" height="26"></div>
		            </td>
		            <td>
		            	<label>用户姓名：</label>
		            </td>
		            <td>
		                <div id="username" class="search-select" idField="entityid" textField="username" enableFilter="true" width="200" height="26"></div>
		            </td>
		            <td>
		            	<label>用户电话：</label>
		            </td>
		            <td>
		                <div id="userphone" class="search-select" idField="entityid" textField="userphone" enableFilter="true" width="200" height="26"></div>
		            </td>
		            <td>
		            	<input class="org-search" type="button" onclick="doSearch();" value="查询"/>
		            </td>
		        </tr>
		    </table>
		</div>
		<div id="datagrid" class="search-datagrid main-auto-content" idField="entityid" showCheckBox="true" multiSelect="true"
	         alternatingRows="true" ondrawcell="ondrawcell">
	        <div property="columns">
	            <div type="checkcolumn"></div>
	            <div type="indexcolumn" width="50" headAlign="center" textAlign="center">序号</div>
	            <div field="loginname" width="150" headAlign="center" textAlign="left" allowSort="true">登录名</div>
	            <div field="username" width="150" headAlign="center" textAlign="left" allowSort="true">用户姓名</div>
	            <div field="userphone" width="150" headAlign="center" textAlign="center" allowSort="true">用户电话</div>
	            <div field="rolenames" width="220" headAlign="center" textAlign="left" allowSort="true">角色</div>
	            <div field="orgname" width="300" headAlign="center" textAlign="left" allowSort="true">机构</div>
	            <div field="entitystate" width="50" headAlign="center" textAlign="center" allowSort="true">状态</div>
	        </div>
	    </div>
		<script type="text/javascript" th:src="@{{js}/pc/users/usersHandler.js(js=${js})}"></script>
	</body>
</html>
